package com.kgc.kmall.kmallcloudmanagerweb.hystix;

import com.kgc.kmall.bean.PmsBaseCatalog1;
import com.kgc.kmall.bean.PmsBaseCatalog2;
import com.kgc.kmall.bean.PmsBaseCatalog3;
import com.kgc.kmall.kmallcloudmanagerweb.service.CataFeignService;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class CataFeignHystix implements CataFeignService{
    @Override
    public List<PmsBaseCatalog1> getCata1() {
        System.out.println("来熔断了");
        return null;
    }

    @Override
    public List<PmsBaseCatalog2> getCata2(Integer catalog1Id) {
        return null;
    }

    @Override
    public List<PmsBaseCatalog3> getCata3(Integer catalog2Id) {
        return null;
    }
}
